package com.wxj.bank.storage.service;

import com.wxj.bank.module.page.PageBean;
import com.wxj.bank.storage.model.Order;

import java.util.List;

public interface IOrderService {
    /* 增 */

    Order save(Order order);

    void save(List<Order> orders);

    /* 删除 */

    void remove(String id);

    /* 修改 */

    Order update(Order order);

    /* 查 */
    Order find(String id);

    List<Order> find(Order order);

    PageBean<Order> find(Order order, PageBean<Order> page);
}
